package com.shujia.wyh.day07.homework;

/*
        1.输入一个数，判断是奇数还是偶数
 */
import java.util.Scanner;
public class Test1 {
    public static void main(String[] args) {
        //创建键盘录入对象
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数");
        int number = sc.nextInt();
        if(number%2==0){
            System.out.println(number+"数是偶数");
        }else {
            System.out.println(number+"数是奇数");
        }


    }
}
